 /**
  * 路由请求 : 个人项目模板
  * @Author  : ljq
  * @Created : 2025/10/8
  */
import request from '@/utils/request'

// 查询个人项目模板列表
export function listProjectDetailTemplate(query) {
  return request({
    url: '/business/projectDetailTemplate/list',
    method: 'get',
    params: query
  })
}

// 查询个人项目模板详细
export function getProjectDetailTemplate(id) {
  return request({
    url: '/business/projectDetailTemplate/' + id,
    method: 'get'
  })
}

 // 多查询个人项目模板详细
 export function getProjectDetailTemplateBatch(ids) {
   return request({
     url: '/business/projectDetailTemplate/batch/' + ids,
     method: 'get'
   })
 }


// 新增个人项目模板
export function addProjectDetailTemplate(data) {
  return request({
    url: '/business/projectDetailTemplate/',
    method: 'post',
    data: data
  })
}

// 修改个人项目模板
export function updateProjectDetailTemplate(data) {
  return request({
    url: '/business/projectDetailTemplate/',
    method: 'put',
    data: data
  })
}

// 删除个人项目模板
export function delProjectDetailTemplate(id) {
  return request({
    url: '/business/projectDetailTemplate/' + id,
    method: 'delete'
  })
}

 // 批量新增个人项目模板
 export function addProjectDetailTemplateBatch(data) {
   return request({
     url: '/business/projectDetailTemplate/batch',
     method: 'post',
     data: data
   })
 }
